package com.sc.nft.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.OrderStatusEnum;
import com.sc.nft.enums.WantBuyOrderStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class MyWantBuyVO {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("图片")
    private String image;
    @ApiModelProperty("总数量")
    private Integer sumCount;
    @ApiModelProperty("已购数量")
    private Integer buyCount;
    @ApiModelProperty("状态")
    private WantBuyOrderStatusEnum status;
    @ApiModelProperty("单价")
    private String unitPrice;
    @ApiModelProperty("花费金额")
    private String costPrice;
    @ApiModelProperty("剩余金额")
    private String surplusPrice;
    @ApiModelProperty("退回金额")
    private String refundAmount;
    @ApiModelProperty("总价")
    private String sumPrice;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    ;
}
